<!--
 * @Author: ljb
 * @Description: 
 * @Date: 2021-09-13 22:16:19
 * @LastEditTime: 2021-09-23 23:16:31
 * @FilePath: \blog-vue\src\App.vue
-->
<template>
  <main class="container blog-contain">
    <router-view />
  </main>
</template>

<script>
export default {
  name: 'App',
  mounted() {
    console.log(this.$store.state.userName)
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
.blog-contain {
  width: 75%;
  height: 200px;
  padding: 90px 0 0;
  margin: 0 auto;
}
</style>
